// Author: combacsa@kaist.ac.kr
// http://www.jungol.co.kr/prog/Hanal/hanalView.php?qs_code=111

//#define COMPILE
#ifdef COMPILE

#include <fstream>
using namespace std;

int main() {
	ifstream in("input.txt");
	int a, b, c, d;

	in >> a >> b >> c >> d;

	in.close();
	ofstream out("output.txt");

	out << "총점 " << a + b + c + d << "점" << endl;
	out << "평균 " << ( a + b + c + d ) / 4 << "점" << endl;


	out.close();

	return 0;
}
#endif
